API Reference > OdGe Classes > OdGeScale3d Class > OdGeScale3d Operators > [] Operator > OdGeScale3d::[] Operator (unsigned int)
OdGeScale3d::[] Operator (unsigned int)
Syntax
C++
double operator [](unsigned int i) const;
Parameters 
Description 
unsigned int i 
[in] Index of component. 

  • if the passed index is 0 - returns the X scale factor.
  • if the passed index is 1 - returns the Y scale factor.
  • if the passed index is 2 - returns the Z scale factor.

Returns the ith component of the scale vector. 

 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.